const doc = (ajaxinstance) => {
  const customer = {}
  customer.getDocList = (postData) => { return ajaxinstance.get('/api/h5/doc/list', { params: postData }) }
  customer.getDocDetails = (postData) => { return ajaxinstance.get(`/api/h5/doc/detail/${postData}`) }
  customer.getDocRead = (postData) => { return ajaxinstance.get(`/api/h5/doc/read/${postData}`) }
  customer.getDocLike = (postData) => { return ajaxinstance.get(`/api/h5/doc/like/${postData}`) }
  customer.setWantSay = (postData) => { return ajaxinstance.set(`/api/h5/doc/wantsay`, postData) }
  return customer
}

export default doc
